@import './reset';
@import'./header';
@import'./footer';
header {
    background: #ffc900;
}

main {
    width: 100%;
    background-color: white;
    height: 100%;
    overflow: hidden;
    position: relative;
    .detail {
        width: 1200px;
        height: 100px;
        margin: 100px auto;
        margin-bottom: 30px;
        border: 1px solid orange;
        border-radius: 5px;
        display: flex;
        justify-content: space-between;
        .info {
            width: 400px;
            height: 100%;
            display: flex;
            justify-content: space-between;
            margin-left: 15px;
            margin-top: 5px;
            .icon {
                width: 90px;
                height: 90px;
                background: url(/images/mdn.jpg)no-repeat center center;
                background-size: 100% 100%;
            }
            .msg {
                width: 300px;
                height: 85px;
                display: flex;
                flex-direction: column;
                justify-content: space-around;
                .shop-name {
                    font-size: 20px;
                }
                .star {
                    font-size: 18px;
                }
                .phone {
                    color: #b6b2b2;
                }
            }
        }
        .time {
            width: 400px;
            height: 100%;
            margin-right: 15px;
            display: flex;
            justify-content: space-around;
            align-items: center;
            text-align: center;
            .send {
                border-right: 1px solid #478dcd;
                padding-right: 20px;
            }
            .dist {
                border-right: 1px solid #478dcd;
                padding-right: 20px;
            }
        }
    }
    .product {
        width: 1200px;
        height: 50px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid red;
        .ul1 {
            width: 20%;
            display: flex;
            justify-content: space-around;
        }
        & li:hover {
            color: #478dcd;
            border-bottom: 2px solid #478dcd;
        }
        & li:nth-child(1) {
            color: #478dcd;
            border-bottom: 2px solid #478dcd;
        }
        .ul2 {
            width: 15%;
            display: flex;
            justify-content: space-around;
        }
    }
    .food-info {
        width: 1200px;
        margin: 0 auto;
        height: 500px;
        border: {
            style: double;
            left: 1px;
            right: 1px;
            color: orange;
        }
        margin-bottom: 50px;
        h3 {
            margin: 5px;
            width: 100%;
        }
        .wrap {
            width: 1100px;
            height: 450px;
            margin: 0 auto;
            display: flex;
            // justify-content: space-around;
            align-items: center;
            .food-wrap {
                height: 420px;
                border: 1px solid #cdcdcd;
                border-radius: 5px;
                .food-img {
                    height: 300px;
                    width: 400px;
                    // background: url(/images/qjt.jpg)no-repeat center center;
                    // background-size: 100% 100%;
                    flex: 1;
                    margin: 10px;
                }
                .food-small {
                    width: 400px;
                    height: 90px;
                    margin: 10px;
                    ul {
                        width: 400px;
                        height: 80px;
                        display: flex;
                        justify-content: space-between;
                        li {
                            // background: url(/images/qjt.jpg)no-repeat center center;
                            border: 1px solid #e1e1e1;
                            border-radius: 5px;
                            background-size: 100% 100%;
                            width: 30%;
                            .smallpic {
                                // background: url(/images/qjt.jpg)no-repeat center center;
                                border: 1px solid #e1e1e1;
                                border-radius: 5px;
                                width: 120px;
                                height: 100%;
                                background-size: 100% 100%;
                                // width: 30%;
                            }
                        }
                    }
                }
            }
            .food-msg {
                height: 400px;
                margin-left: 40px;
                flex: 2;
                padding: 0 50px;
                h1 {
                    margin: 10px 0px;
                }
                .food-content {
                    padding: 10px 0px;
                    font-size: 18px;
                    border-bottom: 1px dashed #478dcd;
                    cursor: pointer;
                    outline: none;
                    i {
                        width: 100%;
                        height: 20px;
                        background-color: #fff;
                        border: 1px solid #aaa;
                        margin: 5px;
                        color: black;
                        font-style: normal;
                        padding: 2px;
                    }
                }
                .food-price {
                    margin: 15px 30px;
                    font-size: 18px;
                    display: inline-block;
                    span {
                        width: 100%;
                        height: 20px;
                        color: black;
                        padding: 2px;
                        font-size: 28px;
                        color: red;
                        font-weight: 700;
                    }
                }
                .sales {
                    display: inline;
                    margin-left: 30px;
                    span {
                        color: red;
                    }
                }
                .count {
                    padding: 15px 0px;
                    margin-bottom: 15px;
                    border-top: 1px dashed #478dcd;
                    font-size: 20px;
                    cursor: pointer;
                    outline: none;
                    input {
                        width: 50px;
                        height: 30px;
                        text-align: center;
                        cursor: pointer;
                        margin: auto 10px;
                    }
                    button {
                        width: 20px;
                        height: 20px;
                        border: none;
                        background-color: #fff;
                        cursor: pointer;
                        font-size: 20px;
                    }
                }
                .btn1 {
                    width: 100px;
                    height: 30px;
                    margin-right: 30px;
                    background-color: #ffc900;
                    border: none;
                    outline: none;
                    font-size: 14px;
                    font-weight: 600;
                    cursor: pointer;
                    // border: 1px solid #478dcd;
                }
                .btn2 {
                    width: 100px;
                    height: 30px;
                    color: #ffc900;
                    font-weight: 600;
                    font-size: 14px;
                    background-color: white;
                    border: 1px solid #ffc900;
                    outline: none;
                    cursor: pointer;
                }
            }
        }
    }
    .cart {
        width: 80px;
        height: 80px;
        position: fixed;
        right: 0;
        background: url(/images/gwc.gif)no-repeat center center;
        background-size: 100% 100%;
        z-index: 8;
        top: 50%;
        border-radius: 50%;
    }
}